package com.sjj.shopping.config;

import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.DispatcherServlet;

/**
 * className:MVCConfig
 * Package:com.sjj.shopping.config
 * Description:
 *
 * @Date: 2022/8/6 22:40
 * @Auther: wssky19890629@163.com
 */

@Configuration
public class MVCConfig {
//    @Bean
//    public ServletRegistrationBean dispatcherRegistration(DispatcherServlet dispatcherServlet) {
//        return new ServletRegistrationBean(dispatcherServlet,"/api/*");
//    }

}
